package org.jfsm.concurrent;

final class Work {
    final ConcurrentContext context;
    final ConcurrentRunner runner;

    Work(ConcurrentContext context, ConcurrentRunner runner) {
        this.context = context;
        this.runner = runner;
    }

    final void run() {
        runner.run(context);
    }
}
